import 'package:json_annotation/json_annotation.dart';

part 'app_update_model.g.dart';


@JsonSerializable()
class AppVersion{
  int? versionCode;
  //2.2.2
  String? versionName;
  String? url;
  bool mandatory;

  AppVersion({this.versionCode, this.versionName, this.url, this.mandatory = false});

  factory AppVersion.fromJson(Map<String,dynamic> json) => _$AppVersionFromJson(json);
  Map<String, dynamic> toJson() => _$AppVersionToJson(this);


}